package com.aliyun.heiyu.powermaster.server.rotary.object.entity;

import java.util.Date;

/**
 * @Description 製冷模塊数据实体
 * @Author shun.zhang
 * @Date 2020/1/11 15:01
 **/
public class CoolServerEntity {
    private Integer id;
    private String server_sn;
    private float server_power;
    private float cpu_usage;
    private Date collect_time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getServer_sn() {
        return server_sn;
    }

    public void setServer_sn(String server_sn) {
        this.server_sn = server_sn;
    }

    public float getServer_power() {
        return server_power;
    }

    public void setServer_power(float server_power) {
        this.server_power = server_power;
    }

    public float getCpu_usage() {
        return cpu_usage;
    }

    public void setCpu_usage(float cpu_usage) {
        this.cpu_usage = cpu_usage;
    }

    public Date getCollect_time() {
        return collect_time;
    }

    public void setCollect_time(Date collect_time) {
        this.collect_time = collect_time;
    }

    @Override
    public String toString() {
        return "CoolServerEntity{" +
            "id=" + id +
            ", server_sn='" + server_sn + '\'' +
            ", server_power=" + server_power +
            ", cpu_usage=" + cpu_usage +
            ", collect_time=" + collect_time +
            '}';
    }
}
